package cn.broadsense.biz.service;

import cn.broadsense.biz.domain.ChannelTagDetails;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author bs
 * @description 针对表【t_channel_tag_detatils(点位标签明细)】的数据库操作Service
 * @createDate 2023-09-25 16:22:58
 */
public interface ChannelTagDetailsService extends IService<ChannelTagDetails> {

    /**
     * 根据点位id获取
     *
     * @param channelId
     * @return
     */
    List<ChannelTagDetails> listByChannelId(Long channelId);

    /**
     * 获取有点位的标签
     *
     * @return
     */
    List<Long> channelTagId();

    /**
     * 统计已填写3d数据的点位
     *
     * @param tagId
     * @return
     */
    long countThirdDataQty(Long tagId);
}
